#{extends 'main.html' /} #{set title:'editRequestPage.html' /}

<!-- Start Marwa Elshenawy 
This is the page where the contributor/creator can view the edit tutorial request 
and can accept/reject it
@author Marwa Elshenawy -->

<body>
	Request to Edit Tutorial: &bnsp; ${t.Title.raw()}
	<br>
	<br> ${er.edit.raw()}
	<br>
	<!-- Marwa Elshenawy
This is a button that enables the contributor/creator to accept the edit request
@author Marwa Elshenawy -->
	<li><a href="@{EditRequests.acceptEditRequest(er.id)}">Accept</a></li>
	<br>
	<!-- Marwa Elshenawy
	This is a button that enables the contributor/creator to reject the edit request
@author Marwa Elshenawy -->
	<li><a href="@{EditRequests.rejectEditRequest(er.id)}">Reject</a></li>
</body>